/* 表单通用样式 */
.form-container {
    max-width: 500px;
    margin: 30px auto;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.9);
    box-sizing: border-box;
}

.form-control:focus {
    outline: 2px solid #CCFF66;
}

.form-hint {
    margin-top: 5px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #0d3221;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #154a33;
}

.form-links {
    margin-top: 20px;
    text-align: center;
}

.form-links a {
    color: #CCFF66;
}

.form-links a:hover {
    text-decoration: underline;
}

/* 关于我们页面样式 */
.about-content {
    padding: 30px 20px;
}

.about-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.about-section h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 8px;
}

/* HTML5 语义化元素样式 */
details {
    margin: 15px 0;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

summary {
    color: #CCFF66;
    font-weight: 500;
    cursor: pointer;
}

figure {
    margin: 20px auto;
    text-align: center;
}

figcaption {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* 表单验证样式 */
input:invalid {
    border: 2px solid #ff6b6b;
}

input:valid {
    border: 2px solid #4ecdc4;
}

input:required + .form-hint::after {
    content: " *必填项";
    color: #ff6b6b;
}